<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>下载文件</title>
</head>
<body>
<h1>Minio文件下载测试</h1>
<div>
    <table border="2px" cellpadding="5px">
        <thead>
        <tr>
            <th>附件ID</th>
            <th>附件文件名</th>
            <th>附件类型</th>
            <th>所属项目</th>
            <th>预览地址</th>
        </tr>
        </thead>
        <tbody>
        <tr th:each="item : ${attachmentList}">
            <td th:text="${item.id}"></td>
            <td th:text="${item.attachmentName}"></td>
            <td th:text="${item.attachmentType}"></td>
            <td th:text="${item.projectId}"></td>
            <td><a th:href="${item.attachmentUrl}">预览</a></td>
        </tr>
        </tbody>
    </table>
</div>

</br>
<a href="/">返回主页</a>
</body>
</html>
